package action;

import web.action.Action;
import agent.DbAgent;
import model.Artist;

@SuppressWarnings("serial")
public class ArtistViewAction extends Action {

	Artist artist;

	public Artist getArtist() {
		return artist;
	}

	public void setName(String name) {
		name = unescape(name);
		artist = DbAgent.getSole().getArtist(name);
	}

	public String execute() throws Exception {
		return SUCCESS;
	}

}
